package com.oepm.dao.mapper;

import com.oepm.dao.entity.DefencePo;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface DefenceMapper {
    //增
    int insert(DefencePo defencePo);
    //删
    int delete(String id);
    //插入重点结题答辩是删除中期答辩
    int deleteByAcademy(String academy);
    //改
    int update(DefencePo defencePo);
    //查
    List<DefencePo> selectByAcademy(String academy);
    List<DefencePo> selectPu(String academy);
    //查
    List<DefencePo> selectByLevel(String level);
}
